import request from '@/utils/request'

// 查询健身经验列表
export function listGymexperience(query) {
  return request({
    url: '/keep/gymexperience/list',
    method: 'get',
    params: query
  })
}

// 查询健身经验详细
export function getGymexperience(id) {
  return request({
    url: '/keep/gymexperience/' + id,
    method: 'get'
  })
}

// 新增健身经验
export function addGymexperience(data) {
  return request({
    url: '/keep/gymexperience',
    method: 'post',
    data: data
  })
}

// 修改健身经验
export function updateGymexperience(data) {
  return request({
    url: '/keep/gymexperience',
    method: 'put',
    data: data
  })
}

// 删除健身经验
export function delGymexperience(id) {
  return request({
    url: '/keep/gymexperience/' + id,
    method: 'delete'
  })
}
